.container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    width: 1500px;
    height:800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* 查询表单样式 */
.queryForm {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.queryRow {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.queryField {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    flex: 1;
}

.queryLabel {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    margin: 0;
}

.queryInput {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.queryInput:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.queryButtons {
    display: flex;
    gap: 10px;
    align-items: end;
}

.queryButton {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.searchButton {
    background-color: #4CAF50;
    color: white;
}

.searchButton:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.clearButton {
    background-color: #6c757d;
    color: white;
}

.clearButton:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.addButton {
    background-color: #007bff;
    color: white;
}

.addButton:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* 弹出框样式 */
.modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background-color: white;
    border-radius: 8px;
    width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modalHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.modalHeader h4 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.closeButton {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.closeButton:hover {
    background-color: #e9ecef;
    color: #495057;
}

.modalBody {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.formField {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.formLabel {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    min-width: 80px;
    margin: 0;
}

.required {
    color: #dc3545;
}

.formInput {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.formInput:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.radioGroup {
    display: flex;
    gap: 20px;
    flex: 1;
}

.radioLabel {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radioLabel input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.modalFooter {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.modalButton {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.cancelButton {
    background-color: #6c757d;
    color: white;
}

.cancelButton:hover {
    background-color: #5a6268;
}

.saveButton {
    background-color: #4CAF50;
    color: white;
}

.saveButton:hover:not(:disabled) {
    background-color: #45a049;
}

.saveButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.table tr:hover {
    background-color: #f5f5f5;
}

.statusBadge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.statusPending {
    background-color: #ff9800;
    color: white;
}

.statusInProgress {
    background-color: #2196F3;
    color: white;
}

.operationCell {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.operationButton {
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    min-width: 50px;
}

.editButton {
    background-color: #2196F3;
    color: white;
}

.editButton:hover {
    background-color: #1976D2;
    transform: translateY(-1px);
}

.deleteButton {
    background-color: #f44336;
    color: white;
}

.deleteButton:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px 4px;
    }
    
    .operationCell {
        flex-direction: column;
        gap: 4px;
    }
}

/* 下拉框样式 */
select.formInput {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
    cursor: pointer;
}

select.formInput:hover {
    border-color: #4CAF50;
}

select.formInput option {
    padding: 8px;
    font-size: 14px;
} 